package com.education.business.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.education.model.dto.AdminRoleDto;
import com.education.model.entity.SystemAdmin;

import java.io.Serializable;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 余一
 * @since 2021-09-10
 */
public interface SystemAdminMapper extends BaseMapper<SystemAdmin> {

    /**
     * 管理员列表条件分页查询
     * @param page
     * @param systemAdmin
     * @return
     */
    Page<AdminRoleDto> selectPageList(Page<AdminRoleDto> page, SystemAdmin systemAdmin);

    AdminRoleDto selectById(Serializable id);
}
